    /**
     * 判断手机号是否已注册
     * @param mobile
     * @return
     * @throws ClientException
     */
    @ResponseBody
    @RequestMapping(value = "http://47.111.188.27:8080/gsgkzyl/user/verificate/{mobile}",method = RequestMethod.GET)

    /**
     * 发送验证码
     * @param mobile
     * @return
     * @throws ClientException
     */
    @ResponseBody
    @RequestMapping(value = "http://47.111.188.27:8080/gsgkzyl/user/code/{mobile}",method = RequestMethod.GET)

    /**
     * 注册
     * @param request
     * @return
     */
    @ResponseBody
    @RequestMapping(value = "http://47.111.188.27:8080/gsgkzyl/user/register",method = RequestMethod.POST)
    public ServerResponse register(HttpServletRequest request){
        String mobile = request.getParameter("mobile");
        String code = request.getParameter("code");
        String password = request.getParameter("password");


    /**
     * 手机号登陆
     * @param request
     * @return
     */
    @ResponseBody
    @RequestMapping(value = "http://47.111.188.27:8080/gsgkzyl/user/login",method = RequestMethod.POST)
    public ServerResponse loginByMobile(HttpServletRequest request){
        String mobile = request.getParameter("mobile");
        String password = request.getParameter("password");
        return userService.loginByMobile(mobile,password);

   /**
     * 修改密码
     * @param request
     * @return
     */
    @ResponseBody
    @RequestMapping(value = "http://47.111.188.27:8080/gsgkzyl/user/modify",method = RequestMethod.POST)
    public ServerResponse modifyPassword(HttpServletRequest request){
        String userId = request.getParameter("userId");
        String oldpassword= request.getParameter("oldpassword");
        String newpassword = request.getParameter("newpassword");
        return userService.modifyPasswd(userId,oldpassword,newpassword);
